package com.ct.application.shipping.service;

import com.ct.application.shipping.model.po.*;
import com.ct.application.shipping.model.vo.ChuanBoZhiWeiVO;
import com.ct.application.shipping.model.vo.ChuanYuanDiaoPeiJieVO;
import com.ct.application.shipping.model.vo.ChuanYuanDiaoPeiVO;
import com.ct.application.shipping.model.vo.ChuanYuanZhiWeiVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanBoXinXiZhiWeiDO;
import com.ct.shipping.orm.ChuanYuanDiaoPeiDO;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 船员调配 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanDiaoPeiService extends IBaseService<ChuanYuanDiaoPeiDO> {

    boolean saveChuanYuanDiaoPei(List<ChuanBoXinXiZhiWeiDO> chuanBoXinXiZhiWeiDOList);



    List<ChuanYuanDiaoPeiVO> findChuanYuanDiaoPei(ChuanYuanDiaoPeiSearchPO searchPO);

    List<ChuanYuanZhiWeiVO> getChuanYuanList(Long xinXiId,String leixing);


    ChuanYuanDiaoPeiVO getChuanYuanDiaoPei(Long id);

    void shangChuan(ChuanYuanDiaoPeiShangChuanSavePO shangChuanSavePO);

    void xiaChuan(ChuanYuanDiaoPeiXiaChuanSavePO xiaChuanSavePO);


    void jieTi(ChuanYuanDiaoPeiJieTiSavePO jieTiSavePO);

    ChuanYuanDiaoPeiJieVO jieTiXiangQing(Long id);

    void updateJieTi(ChuanYuanDiaoPeiJieTiSavePO jieTiSavePO);

    boolean delJieTi(Long id);
}
